<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var name = "张三";
        function showOne(){
            var name = "李四"
            console.log(this.name);
        }
        showOne();

        var obj ={
            name:"王五"
        }
        showOne.call(obj)
    </script>
</body>
</html>